home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10881 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: doc.ic.ac.uk!usenet
  2. From: Shamimabi Paurobally <sp1@doc.ic.ac.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: lex, yacc , makefile
  5. Date: 20 Mar 1996 16:45:36 GMT
  6. Organization: Dept. of Computing, Imperial College, University of London, UK.
  7. Message-ID: <4ipcng$iek@frigate.doc.ic.ac.uk>
  8. NNTP-Posting-Host: finch.doc.ic.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3_U1 sun4m)
  13. X-URL: news:comp.lang.c
  14.  
  15. hi,
  16.  
  17. I am trying to learn how to translate programs using lex and yacc . How do
  18. these two interface with each other? can u send me a sample program which uses
  19. lex
  20. followed by yacc ?
  21. furthermore can u give me   the format of a makefile
  22. how do u force yacc to generate the .h file as well as the .c file ?
  23. thanks
  24. shamima           
  25. **********************************************************************************
  26.  
  27.  
  28. In War : Resolution.
  29.     In Defeat: Defiance.
  30.     In Victory : Magnanimity.
  31.        In Peace : Good Will.
  32.  
  33.  
  34. On Since: 16 December 1537 BC 10:00 (Mauritian time) on ttypXX from 
  35.     Curepipe29:0.0
  36. Unread mail since dawn
  37. New mail received at dusk
  38. Project: Smile, Sleep , Sing  and be happy
  39.  
  40.  
  41. **********************************************************************************
  42.  
  43.